<template>
  <div class="main">
    <div class="l">
      <XMenu></XMenu>
    </div>
    <div class="r">
      <div class="header">
        <XHeader></XHeader>
      </div>
      <div class="router_view">
        <router-view/>
      </div>
    </div>
  </div>
</template>

<script>
import XMenu from "../components/menu.vue";
import XHeader from "../components/header.vue";
export default {
  components: {XMenu,XHeader},
  name: "MainView",
  data() {
    return {

    }
  },

  created() {},

  methods: {

  }
}
</script>

<style scoped lang="less">
.main {
  height: 100%;
  display: flex;
  background-size: cover;
  background-image: url(../static/background_image/1684459600197.jpg);
  .r {
    flex: 1;
    height: 100%;
    // overflow: auto;
    position: relative;
    .header {
      width: 100%;
      position: absolute;
    }
    .router_view {
      box-sizing: border-box;
      height: 100%;
      overflow: auto;
      padding-top: 120px;
    }
  }
}
</style>
